//
//  Choice.h
//  PTravel
//
//  Created by dllo on 15/11/27.
//  Copyright © 2015年 李涵. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ChoiceDelegate <NSObject>

- (void)type:(UIButton *)btn;

- (void)depart:(UIButton *)btn;

- (void)destination:(UIButton *)btn;

- (void)time:(UIButton *)btn;

- (void)cellAction;

@end

@interface Choice : UIView<UITableViewDataSource, UITableViewDelegate>
@property (retain, nonatomic)UITableView *myTableView;
@property (retain, nonatomic)UITableView *mySmallTableView;
@property (retain, nonatomic)NSMutableArray *smallArr;
@property (retain, nonatomic)NSMutableArray *typeArr;
@property (retain, nonatomic)NSMutableArray *departArr;
@property (retain, nonatomic)NSMutableArray *destinationArr;
@property (retain, nonatomic)NSMutableArray *timeArr;
@property (retain, nonatomic)NSMutableArray *countryArr;
@property (retain, nonatomic)UIView *bigView;
@property (assign, nonatomic)NSInteger num;
@property (copy, nonatomic)NSString *id;
@property (copy, nonatomic)NSString *city;
@property (copy, nonatomic)NSString *timeStr;
@property (copy, nonatomic)NSString *continent_id;
@property (copy, nonatomic)NSString *country_id;
@property (copy, nonatomic)NSString *departStr;
@property (assign, nonatomic)BOOL isDes;


@property (retain, nonatomic)UIButton *type;
@property (retain, nonatomic)UIButton *depart;
@property (retain, nonatomic)UIButton *destination;
@property (retain, nonatomic)UIButton *time;
@property (assign, nonatomic)id<ChoiceDelegate>choiceDelegate;

@end
